package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.annotation.DataFilter;
import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.BarRegister;
import io.bdmc.modules.bss.mapper.BarRegisterMapper;
import io.bdmc.modules.bss.model.BarRegisterParam;
import io.bdmc.modules.bss.service.BarRegisterService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author HuangLu
 * @since 2019-02-14
 */
@Service
public class BarRegisterServiceImpl extends ServiceImpl<BarRegisterMapper, BarRegister> implements BarRegisterService {

    @Autowired
    private BarRegisterMapper registerMapper;
    
   @DataFilter(tableAlias = "dep", user = false)
	@Override
	public MyPage<BarRegister> mySelectPage(MyPage<BarRegister> page, BarRegisterParam barRegisterParam) {
		return registerMapper.mySelectPage(page,barRegisterParam);
	}
}
